//
//  VinHTTPHandle.h
//  SWCommonFrame
//
//  Created by shaowei on 13-6-18.
//  Copyright (c) 2013年 shaowei. All rights reserved.
//

#import <Foundation/Foundation.h>

#define RNOCACHEMD5 @"0"            //本地无缓存发送给服务器的md5默认值
#define RUSECACHERESP @"1"          //服务器告诉客户端使用缓存应答的默认值
#define RCLIENT @"10"               //10:iphone4，11：iphone5，30：ipad，50：android
//#define RLANGUAGE @"cn"             //cn:中文，en:英文，jn：日文，kn：韩文
#define RDOCTYPE @"json"            //json:返回json格式的数据；xml：返回xml格式的数据

@interface SWHTTPHandle : NSObject



+ (NSString *)handleUrlAddExtraInfo:(NSString *)originUrl;//暂时废弃

+ (NSString *)handleUrlAddMD5:(NSString *)originUrl andMD5:(NSString *)md5String;

+ (NSString *)handleUrlToMarkCache:(NSString *)originUrl;

+ (BOOL)isHaveQuestionMark:(NSString *)urlString;
+ (NSString *)handleUrlAddMark:(NSString *)urlString;//为url添加"&","?"

+ (NSString *)getSystemLanguage;

@end
